package com.tansun.ruledata.data.service;

import java.util.HashMap;
import java.util.Map;

public class ParamUtils {
	
	public  static  Map<String,Object>  initMap(String[] keys,Object[] paramValues){
		Map<String,Object>  map  = new  HashMap<>();
		for (int  i =0;i<keys.length;i++) {
			map.put(keys[i], paramValues[i]);
		}
		return  map;
	}
	
	public  static  Map<String,Object>  initProjectEnterPoint(String projectCode, String enterPointer,String timeStamp){
		Map<String,Object>  map  = new  HashMap<>();
		map.put("projectCode", projectCode);
		map.put("enterPointer", enterPointer);
		map.put("dataVersion", timeStamp);
		return map;
	}

}
